<%@page import="java.util.*" %>
<%
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
   	Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<script>
$(function() {
	//--------------------------simple label--------------------------//
	simpleLabel_roomType="<% out.print(resource.getString("simpleLabel.roomType"));%>";
	simpleLabel_Date="<% out.print(resource.getString("simpleLabel.Date"));%>";
	simpleLabel_room="<% out.print(resource.getString("simpleLabel.room"));%>";
	simpleLabel_Message="<% out.print(resource.getString("simpleLabel.Message"));%>";
	simpleLabel_Button_Yes="<% out.print(resource.getString("simpleLabel.Button.Yes"));%>";
	simpleLabel_Button_No="<% out.print(resource.getString("simpleLabel.Button.No"));%>";
	simpleLabel_Button_OK="<% out.print(resource.getString("simpleLabel.Button.OK"));%>";
	simpleLabel_Button_Close="<% out.print(resource.getString("simpleLabel.Button.Close"));%>";
	simpleLabel_Description="<% out.print(resource.getString("simpleLabel.description"));%>";
	simpleLabel_Select="<% out.print(resource.getString("simpleLabel.Select"));%>";
	simpleLabel_Night = "<% out.print(resource.getString("simpleLabel.night"));%>";
	
	//---------------------Admin Menu-------------------------------//
	Company_Info = "<%=resource.getString("AdminConsole.Menu.companyinfo")%>";
	Console = "<%=resource.getString("AdminConsole.Menu.console")%>";
	General = "<%=resource.getString("AdminConsole.Menu.general")%>";
	Guest_Manager = "<%=resource.getString("AdminConsole.Menu.guestmanager")%>";
	Home = "<%=resource.getString("AdminConsole.Menu.home")%>";
	POS_Manager = "<%=resource.getString("AdminConsole.Menu.posmanager")%>";
	Price_Manager = "<%=resource.getString("AdminConsole.Menu.pricemanager")%>";
	Report = "<%=resource.getString("AdminConsole.Menu.report")%>";
	Room_Manager = "<%=resource.getString("AdminConsole.Menu.roommanager")%>";
	User_Manager = "<%=resource.getString("AdminConsole.Menu.usermanager")%>";
	Web_Manager = "<%=resource.getString("AdminConsole.Menu.webmanager")%>";
	
	//---------------------Admin Menu-------------------------------//
	foor_page = "<%=resource.getString("AdminConsole.Page.center.page")%>";
	foor_of = "<%=resource.getString("AdminConsole.Page.center.of")%>";
	foor_view = "<%=resource.getString("AdminConsole.Page.center.view")%>";
	foor_rpp = "<%=resource.getString("AdminConsole.Page.center.rpp")%>";
	foor_pre = "<%=resource.getString("AdminConsole.Page.center.previous")%>";
	foor_next = "<%=resource.getString("AdminConsole.Page.center.next")%>";
	nodata = "<%=resource.getString("AdminConsole.Page.Room.nodata")%>";
    
	
	Month_Short_Apr = "<%=resource.getString("Month.Short.Apr") %>";
	Month_Short_Aug = "<%=resource.getString("Month.Short.Aug") %>";
	Month_Short_Dec = "<%=resource.getString("Month.Short.Dec") %>";
	Month_Short_Feb = "<%=resource.getString("Month.Short.Feb") %>";
	Month_Short_Jan = "<%=resource.getString("Month.Short.Jan") %>";
	Month_Short_Jul = "<%=resource.getString("Month.Short.Jul") %>";
	Month_Short_Jun = "<%=resource.getString("Month.Short.Jun") %>";
	Month_Short_Mar = "<%=resource.getString("Month.Short.Mar") %>";
	Month_Short_May = "<%=resource.getString("Month.Short.May") %>";
	Month_Short_Nov = "<%=resource.getString("Month.Short.Nov") %>";
	Month_Short_Oct = "<%=resource.getString("Month.Short.Oct") %>";
	Month_Short_Sep = "<%=resource.getString("Month.Short.Sep") %>";
	
	Month_Full_Apr = "<%=resource.getString("Month.Full.April") %>";
	Month_Full_Aug = "<%=resource.getString("Month.Full.August") %>";
	Month_Full_Dec = "<%=resource.getString("Month.Full.December") %>";
	Month_Full_Feb = "<%=resource.getString("Month.Full.February") %>";
	Month_Full_Jan = "<%=resource.getString("Month.Full.January") %>";
	Month_Full_Jul = "<%=resource.getString("Month.Full.July") %>";
	Month_Full_Jun = "<%=resource.getString("Month.Full.June") %>";
	Month_Full_Mar = "<%=resource.getString("Month.Full.March") %>";
	Month_Full_May = "<%=resource.getString("Month.Full.May") %>";
	Month_Full_Nov = "<%=resource.getString("Month.Full.November") %>";
	Month_Full_Oct = "<%=resource.getString("Month.Full.October") %>";
	Month_Full_Sep = "<%=resource.getString("Month.Full.September") %>";
	
	Day_Sun = "<%=resource.getString("Calendar.ShortDay.Sun") %>";
	Day_Mon = "<%=resource.getString("Calendar.ShortDay.Mon") %>";
	Day_Tue = "<%=resource.getString("Calendar.ShortDay.Tue") %>";
	Day_Wed = "<%=resource.getString("Calendar.ShortDay.Wed") %>";
	Day_Thu = "<%=resource.getString("Calendar.ShortDay.Thu") %>";
	Day_Fri = "<%=resource.getString("Calendar.ShortDay.Fri") %>";
	Day_Sat = "<%=resource.getString("Calendar.ShortDay.Sat") %>";
	
	//pos category
	titlePoint = "<% out.print(resource.getString("AdminConsole.Page.Pos.Tilte"));%>"
	titleCategory = "<% out.print(resource.getString("AdminConsole.Page.POSCategories.title"));%>";
	suggestCategoryMain = "<% out.print(resource.getString("AdminConsole.Page.POSCategories.suggest"));%>";
	listCategoryMain  = "<% out.print(resource.getString("AdminConsole.Page.POSCategories.list"));%>";
	addCategoryMain = "<% out.print(resource.getString("AdminConsole.Page.POSCategories.add"));%>";
	delCategoryMain = "<% out.print(resource.getString("AdminConsole.Page.POSCategories.del"));%>";
	suggestCategory = "<% out.print(resource.getString("AdminConsole.Page.POSSubcategories.Suggest"));%>";
	listCategory  = "<% out.print(resource.getString("AdminConsole.Page.POSSubcategories.List"));%>";
	addCategory = "<% out.print(resource.getString("AdminConsole.Page.POSSubcategories.Add"));%>";
	delCategory = "<% out.print(resource.getString("AdminConsole.Page.POSSubcategories.Del"));%>";
	// pos product
	titleProduct = "<% out.print(resource.getString("AdminConsole.Page.POSItem.Title"));%>"
	suggestProduct = "<% out.print(resource.getString("AdminConsole.Page.POSItem.suggest"));%>";
	listProduct  = "<% out.print(resource.getString("AdminConsole.Page.POSItem.list"));%>";
	addProduct = "<% out.print(resource.getString("AdminConsole.Page.POSItem.add"));%>";
	delProduct = "<% out.print(resource.getString("AdminConsole.Page.POSItem.del"));%>";
	taxDialog = "<% out.print(resource.getString("AdminConsole.Page.POSItem.DialogTax"));%>";
	//pos zone
	suggestZone = "<% out.print(resource.getString("AdminConsole.Page.POSZone.suggestion"));%>";
	listZone = "<% out.print(resource.getString("AdminConsole.Page.POSZone.list"));%>";
	addZone = "<% out.print(resource.getString("AdminConsole.Page.POSZone.add"));%>";
	deleteZone = "<% out.print(resource.getString("AdminConsole.Page.POSZone.del"));%>";
	//counter
	titleCounter = "<% out.print(resource.getString("AdminConsole.Page.Pos.counter"));%>";
	titleDefaultCounter = "<% out.print(resource.getString("AdminConsole.Page.Pos.selectDefaultCounter"));%>";
	suggestCounter = "<% out.print(resource.getString("AdminConsole.Page.POSCounter.suggest"));%>";
	listCounter = "<% out.print(resource.getString("AdminConsole.Page.POSCounter.list"));%>";
	addCounter = "<% out.print(resource.getString("AdminConsole.Page.POSCounter.add"));%>";
	deleteCounter = "<% out.print(resource.getString("AdminConsole.Page.POSCounter.del"));%>";
	
	//pos tabel
	suggestTable = "<% out.print(resource.getString("AdminConsole.Page.POSTable.suggest"));%>";
	listTable = "<% out.print(resource.getString("AdminConsole.Page.POSTable.list"));%>";
	addTable = "<% out.print(resource.getString("AdminConsole.Page.POSTable.add"));%>";
	deleteTable = "<% out.print(resource.getString("AdminConsole.Page.POSTable.delete"));%>";
	
	//console
	console_addCorp = "<% out.print(resource.getString("AdminConsole.Page.Console.addCorporate"));%>";
	console_editCorp = "<% out.print(resource.getString("AdminConsole.Page.Console.editCorporate"));%>";
	console_user = "<% out.print(resource.getString("AdminConsole.Page.Console.user"));%>";
	console_validity = "<% out.print(resource.getString("AdminConsole.Page.Console.validity"));%>";
	console_to = "<% out.print(resource.getString("simpleLabel.to"));%>";
	text_delete = "<% out.print(resource.getString("simpleLabel.delete"));%>";
	text_charge = "<% out.print(resource.getString("AdminConsole.Page.Console.Change"));%>";
	corporate_profile = "<% out.print(resource.getString("AdminConsole.Page.Console.CorporateProfile"));%>";
	console_zipcode = "<% out.print(resource.getString("AdminConsole.Page.Console.ZipCode"));%>";
	console_contactperson = "<% out.print(resource.getString("AdminConsole.Page.Console.ContactPersonDetail"));%>";
	console_tel = "<% out.print(resource.getString("simpleLabel.tel"));%>";
	console_ext = "<% out.print(resource.getString("simpleLabel.ext"));%>";
	console_fax = "<% out.print(resource.getString("AdminConsole.Page.Console.Fax"));%>";
	console_mobile = "<% out.print(resource.getString("AdminConsole.Page.Console.Mobile"));%>";
	console_email = "<% out.print(resource.getString("AdminConsole.Page.Console.email"));%>";
	console_website = "<% out.print(resource.getString("AdminConsole.Page.Console.Website"));%>";
	console_btn_save = "<% out.print(resource.getString("simpleLabel.Save"));%>";
	console_btn_cancel = "<% out.print(resource.getString("simpleLabel.cancel"));%>";
	console_btn_edit = "<% out.print(resource.getString("simpleLabel.edit"));%>";
	console_text_female = "<% out.print(resource.getString("AdminConsole.Page.Console.Female"));%>";
	console_text_male = "<% out.print(resource.getString("AdminConsole.Page.Console.Male"));%>";
	console_registeruser = "<% out.print(resource.getString("AdminConsole.Page.Console.registerUser"));%>";
	console_suggesttion_user = "<% out.print(resource.getString("AdminConsole.Page.Console.suggestionUser"));%>";
	console_suggesttion = "<% out.print(resource.getString("AdminConsole.Page.Console.Suggest"));%>";
	console_titlelist = "<% out.print(resource.getString("AdminConsole.Page.Console.list"));%>";
	console_btnAddUserCorp = "<% out.print(resource.getString("AdminConsole.Page.Console.userAddBtn"));%>";
	console_btnDeleteUserCorp = "<% out.print(resource.getString("AdminConsole.Page.Console.userDelBtn"));%>";
	console_btnAddCorp = "<% out.print(resource.getString("AdminConsole.Page.Console.add"));%>";
	console_btnDeleteCorp = "<% out.print(resource.getString("AdminConsole.Page.Console.del"));%>";
	//agent
	console_addagent = "<% out.print(resource.getString("AdminConsole.Page.Agent.add"));%>";
	console_editagent = "<% out.print(resource.getString("AdminConsole.Page.Agent.edit"));%>";
	console_suggestAgent = "<% out.print(resource.getString("AdminConsole.Page.Agent.Suggest"));%>";
	profile_agent = "<% out.print(resource.getString("AdminConsole.Page.Agent.profileAgent"));%>"
	console_listAgent = "<% out.print(resource.getString("AdminConsole.Page.Agent.list"));%>"
	console_addvalidity = "<% out.print(resource.getString("AdminConsole.Page.Console.AddValidity"));%>";
	console_registerAgent = "<% out.print(resource.getString("AdminConsole.Page.Agent.userAgent"));%>";
	console_suggestUser = "<% out.print(resource.getString("AdminConsole.Page.Agent.userSuggest"));%>";
	console_listUser = "<% out.print(resource.getString("AdminConsole.Page.Agent.userList"));%>";
	console_btnAddUserAgent = "<% out.print(resource.getString("AdminConsole.Page.Agent.userAddBtn"));%>";
	console_btnDeleteUserAgent = "<% out.print(resource.getString("AdminConsole.Page.Agent.userDeleteBtn"));%>";
	console_btnAddAgent = "<% out.print(resource.getString("AdminConsole.Page.Agent.add"));%>";
	console_btnDeleteAgent = "<% out.print(resource.getString("AdminConsole.Page.Agent.del"));%>";
	
	lessthan = "<% out.print(resource.getString("AdminConsole.Page.General.CancelPolicy.lessthan"));%>";
	xHours = "<% out.print(resource.getString("AdminConsole.Page.General.DefaultsSettings.hours2"));%>";
	xDays = "<% out.print(resource.getString("AdminConsole.Page.General.DefaultsSettings.days"));%>";
	xPercent = "<% out.print(resource.getString("AdminConsole.Page.General.DefaultsSettings.percentofbooking"));%>";
	xSymbol = "<% out.print((String)session.getAttribute("symbol")); %>";
	
	xCounterList = "<% out.print(resource.getString("AdminConsole.Page.General.DefaultsSettings.counterlist"));%>";
	
	//force logout
	Warning="<%out.print(resource.getString("simpleLabel.warning"));%>";
	ForceLogout="<%out.print(resource.getString("simpleLabel.forcelogout"));%>";
	
	//package price
	addpackage="<%out.print(resource.getString("AdminConsole.Page.PriceManager.addpackage"));%>";
	editpackage="<%out.print(resource.getString("AdminConsole.Page.PriceManager.editpackage"));%>";
	addsuccess = "<%out.print(resource.getString("AdminConsole.Page.PriceManager.addpackagesuccess"));%>";
	edittime = "<%out.print(resource.getString("AdminConsole.Page.PriceManager.edittime"));%>";
	extendTime = "<%out.print(resource.getString("AdminConsole.Page.PriceManager.extendTime"));%>";
	ExpiredPackage = "<%out.print(resource.getString("AdminConsole.Page.PriceManager.ExpiredPackage"));%>";
	viewDetail = "<%out.print(resource.getString("simpleLabel.view"));%>";
	roomtype = "<%out.print(resource.getString("AdminConsole.Page.RoomTypes"));%>";
	datepernight = "<%out.print(resource.getString("AdminConsole.Page.RoomTypes.pricepernight"));%>";
	
	//Hotel Custom Setting
	hotelcustomsetting = "<%out.print(resource.getString("AdminConsole.Page.General.Hotelcustomsetting"));%>";
	
	ShortMonth = [Month_Short_Jan, Month_Short_Feb, Month_Short_Mar, Month_Short_Apr, Month_Short_May, Month_Short_Jun, Month_Short_Jul, 		Month_Short_Aug, Month_Short_Sep, Month_Short_Oct, Month_Short_Nov, Month_Short_Dec];
	ShortDay = [Day_Sun,Day_Mon,Day_Tue,Day_Wed,Day_Thu,Day_Fri,Day_Sat];
	}
);
</script>